package net.learn.system.convert;

import net.learn.system.vo.QueSubjectVO;
import net.learn.system.entity.QueSubjectEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface QueSubjectConvert {
    QueSubjectConvert INSTANCE = Mappers.getMapper(QueSubjectConvert.class);

    QueSubjectVO convert(QueSubjectEntity entity);

    QueSubjectEntity convert(QueSubjectVO vo);
    
    List<QueSubjectVO> convertList(List<QueSubjectEntity> list);

}
